package com.ruoyi.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客户联系人对象 bus_customer_contact
 * 
 * @author ruoyi
 * @date 2021-09-02
 */
public class BusCustomerContact extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 联系人ID */
    private Long contactId;

    /** 客户ID */
    @Excel(name = "客户ID")
    private Long customerId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String contactName;

    /** 电话 */
    @Excel(name = "电话")
    private String contactPhone;

    /** 地址 */
    @Excel(name = "地址")
    private String contactAddress;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String contactMail;

    public void setContactId(Long contactId) 
    {
        this.contactId = contactId;
    }

    public Long getContactId() 
    {
        return contactId;
    }
    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }
    public void setContactName(String contactName) 
    {
        this.contactName = contactName;
    }

    public String getContactName() 
    {
        return contactName;
    }
    public void setContactPhone(String contactPhone) 
    {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone() 
    {
        return contactPhone;
    }
    public void setContactAddress(String contactAddress) 
    {
        this.contactAddress = contactAddress;
    }

    public String getContactAddress() 
    {
        return contactAddress;
    }
    public void setContactMail(String contactMail) 
    {
        this.contactMail = contactMail;
    }

    public String getContactMail() 
    {
        return contactMail;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("contactId", getContactId())
            .append("customerId", getCustomerId())
            .append("contactName", getContactName())
            .append("contactPhone", getContactPhone())
            .append("contactAddress", getContactAddress())
            .append("contactMail", getContactMail())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
